package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: QIK
 * @CreateDate: 2019/6/24 16:51
 */
@Data
@ApiModel("用户优惠券")
public class UserCouponResponse {
    @ApiModelProperty("用户优惠券id")
    private Long userCouponId;
    @ApiModelProperty("优惠券详情id")
    private Long couponId;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("优惠券状态1待使用，2已使用")
    private Integer couponState;
    @ApiModelProperty("优惠参数")
    private Double couponParam;
    @ApiModelProperty("优惠类型1满减，2折扣")
    private Integer couponType;
    @ApiModelProperty("拥有数量")
    private Integer num;
    @ApiModelProperty("有效开始时间")
    private Date effectiveStartTime;
    @ApiModelProperty("有效截止时间")
    private Date effectiveEndTime;
    @ApiModelProperty("商品类型名")
    private String goodsTypeName;
    @ApiModelProperty("企业名")
    private String companyName;

    @ApiModelProperty("优惠券详情")
    private CompanyCouponResponse companyCouponResponse;
}
